package com.gitee.neuray.security.auth.util.user;

public class JwtWeAuthenticationResponse extends JwtAuthenticationResponse {
    private static final long serialVersionUID = 1250166508152483573L;

    private final String name;
    private final String avatar;
    private final String orgName;
    private final String position;

    public JwtWeAuthenticationResponse(String token, String name, String avatar, String orgName, String position) {
        super(token);
        this.name = name;
        this.avatar = avatar;
        this.orgName = orgName;
        this.position = position;
    }

    public String getName() {
        return this.name;
    }

    public String getAvatar() {
        return this.avatar;
    }

    public String getOrgName() {
        return this.orgName;
    }

    public String getPosition() {
        return this.position;
    }
}
